﻿using System;
using System.Data;
using System.Linq;

namespace LayerEntity.Sistema
{
    public class EFactorCredito
    {
        public EFactorCredito(IDataRecord record)
        {
            this.Id_Prodcredito = int.Parse(record["id_prodcredito"].ToString());
            this.Taza = double.Parse(record["taza1"].ToString());
        }

        public EFactorCredito()
        {
        }

        public int Id_Prodcredito { get; set; }
        public double Taza { get; set; }
    }
}